package com.example.aboutspringboot.service;

import com.example.aboutspringboot.entity.Admin;
import com.example.aboutspringboot.mapper.AdminMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class AdminService {

    @Resource
    private AdminMapper adminMapper;

    public Admin selectAdmin(Admin admin){
        return adminMapper.selectAdmin(admin);
    }
}
